package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    void add(MybatisReviewVO mybatisReviewVO);

    void delete(Long id);

    void update(MybatisReviewVO mybatisReviewVO);

    List<MybatisReviewVO> list();

    List<MybatisReviewVO> page(int pageNum, int pageSize);

    MybatisReviewVO getById(Long id);
}
